

    \filetitle{chksstate}{Check if equations hold for currently assigned steady-state values}{model/chksstate}

	\paragraph{Syntax}

\begin{verbatim}
[Flag,List] = chksstate(M,...)
[Flag,Discr,List] = chksstate(M,...)
\end{verbatim}

\paragraph{Input arguments}

\begin{itemize}
\tightlist
\item
  \texttt{M} {[} model {]} - Model object.
\end{itemize}

\paragraph{Output arguments}

\begin{itemize}
\item
  \texttt{Flag} {[} \texttt{true} \textbar{} \texttt{false} {]} - True
  if discrepancy between LHS and RHS is smaller than tolerance level in
  each equation.
\item
  \texttt{Discr} {[} numeric {]} - Discrepancies between LHS and RHS
  evaluated for each equation at two consecutive times, and returned as
  two column vectors.
\item
  \texttt{List} {[} cellstr {]} - List of equations in which the
  discrepancy between LHS and RHS is greater than
  \texttt{\textquotesingle{}tolerance=\textquotesingle{}}.
\end{itemize}

\paragraph{Options}

\begin{itemize}
\item
  \texttt{\textquotesingle{}error=\textquotesingle{}} {[}
  \emph{\texttt{true}} \textbar{} \texttt{false} {]} - Throw an error if
  one or more equations fail to hold up to tolerance level.
\item
  \texttt{\textquotesingle{}eqtn=\textquotesingle{}} {[}
  \emph{\texttt{\textquotesingle{}full\textquotesingle{}}} \textbar{}
  \texttt{\textquotesingle{}sstate\textquotesingle{}} {]} - Evaluate
  either full or steady-state equations on steady-state values.
\item
  \texttt{\textquotesingle{}warning=\textquotesingle{}} {[}
  \emph{\texttt{true}} \textbar{} \texttt{false} {]} - Display warnings
  produced by this function.
\end{itemize}

\paragraph{Description}

\paragraph{Example}


